package bishi;

/**
 * @Author liuhaoqi
 * @Date 2020/8/29 15:09
 * @Version 1.0
 */
public class HikVisonDemo {
    static HikVisonDemo demo =new HikVisonDemo();
    static int a;
    static int b =1;

    HikVisonDemo() {
        a++;
        b++;
    }

    static HikVisonDemo getInstance() {
        return demo;
    }

    public static void main(String[] args) {
        HikVisonDemo demo = HikVisonDemo.getInstance();
        System.out.println(a + " " + b);
    }
}
